<?php
require_once ('library/Model/BaseModel.php');

/**
 *
 * @author Nguyen
 *        
 */
class Userpower extends BaseModel implements IModel{
	
	public function getallNameUserPower() {
		$sql = 'select id,name from userpower where status = 1';
		return $this->db->fetchAll ( $sql );
	}
}

?>